Skip to content

Fix broken webpack/next.js externals, add docs#1722

Merged
askoufis merged 2 commits intomasterfrom
fix-broken-webpack-externals
Apr 12, 2026
Merged

Fix broken webpack/next.js externals, add docs#1722
askoufis merged 2 commits intomasterfrom
fix-broken-webpack-externals

Conversation

@askoufis
Copy link
Copy Markdown
Contributor

Fixes #1719.

I wish this was as simple as using the Externals type from webpack, but it's not. And it would be a breaking change (to the type). For now we should at least correctly handle arrays, and we can try fix it properly in the next major.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 12, 2026

🦋 Changeset detected

Latest commit: 8619661

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@vanilla-extract/webpack-plugin Patch
@vanilla-extract/next-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@askoufis askoufis force-pushed the fix-broken-webpack-externals branch from 8538d95 to efe155a Compare April 12, 2026 10:12
@askoufis askoufis changed the title Fix broken webpack/next.js externals Fix broken webpack/next.js externals, add docs Apr 12, 2026
@askoufis askoufis merged commit 99edac2 into master Apr 12, 2026
11 checks passed
@askoufis askoufis deleted the fix-broken-webpack-externals branch April 12, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant